package com.example.tse.rbhttpservice.service.member.model;

import com.example.tse.rbhttpservice.service.RudderResponse;


/**
* 获取版本信息，并验证是否有版本更新
* @author wliu
* edit tse
*/
public class MemberSettingCheckVersionResponse extends RudderResponse{

private String lastestVersion = "";


private String isUpdate = "";


private String androidUrl = "";


private String minAndroidVersion = "";


private String minIosVersion = "";


private String iosVersion = "";


private String force = "";


/**
* @return lastestVersion
*/
public String getLastestVersion() {
return this.lastestVersion;
}

/**
* @return lastestVersion
*/
public void setLastestVersion(String lastestVersion) {
this.lastestVersion = lastestVersion;
}
/**
methodName    LastestVersion
type          String
name          lastestVersion
defaultType   ""
*/

/**
* @return isUpdate
*/
public String getIsUpdate() {
return this.isUpdate;
}

/**
* @return isUpdate
*/
public void setIsUpdate(String isUpdate) {
this.isUpdate = isUpdate;
}
/**
methodName    IsUpdate
type          String
name          isUpdate
defaultType   ""
*/

/**
* @return androidUrl
*/
public String getAndroidUrl() {
return this.androidUrl;
}

/**
* @return androidUrl
*/
public void setAndroidUrl(String androidUrl) {
this.androidUrl = androidUrl;
}
/**
methodName    AndroidUrl
type          String
name          androidUrl
defaultType   ""
*/

/**
* @return minAndroidVersion
*/
public String getMinAndroidVersion() {
return this.minAndroidVersion;
}

/**
* @return minAndroidVersion
*/
public void setMinAndroidVersion(String minAndroidVersion) {
this.minAndroidVersion = minAndroidVersion;
}
/**
methodName    MinAndroidVersion
type          String
name          minAndroidVersion
defaultType   ""
*/

/**
* @return minIosVersion
*/
public String getMinIosVersion() {
return this.minIosVersion;
}

/**
* @return minIosVersion
*/
public void setMinIosVersion(String minIosVersion) {
this.minIosVersion = minIosVersion;
}
/**
methodName    MinIosVersion
type          String
name          minIosVersion
defaultType   ""
*/

/**
* @return iosVersion
*/
public String getIosVersion() {
return this.iosVersion;
}

/**
* @return iosVersion
*/
public void setIosVersion(String iosVersion) {
this.iosVersion = iosVersion;
}
/**
methodName    IosVersion
type          String
name          iosVersion
defaultType   ""
*/

/**
* @return force
*/
public String getForce() {
return this.force;
}

/**
* @return force
*/
public void setForce(String force) {
this.force = force;
}
/**
methodName    Force
type          String
name          force
defaultType   ""
*/

/**


    public static void filter(MemberSettingCheckVersionResponse member) {
        if (member.getLastestVersion() == null) {
            member.setLastestVersion("");
        }
        if (member.getIsUpdate() == null) {
            member.setIsUpdate("");
        }
        if (member.getAndroidUrl() == null) {
            member.setAndroidUrl("");
        }
        if (member.getMinAndroidVersion() == null) {
            member.setMinAndroidVersion("");
        }
        if (member.getMinIosVersion() == null) {
            member.setMinIosVersion("");
        }
        if (member.getIosVersion() == null) {
            member.setIosVersion("");
        }
        if (member.getForce() == null) {
            member.setForce("");
        }
    }

*/


    @Override
    public String toString() {

        return  "lastestVersion:"+lastestVersion +" androidUrl:"+androidUrl +" minAndroidVersion:"+minAndroidVersion;
    }
}
